<div class="am-u-sm-12 widget main-w" >
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('/admin/car/index')}">业务管理</a></li>
		<li><a href="{:url('index')}">司机管理</a></li>
		<li class="am-active">劳务合同</li>
	</ol>
	<div class="am-u-sm-12">
		<form class="am-form tpl-form-border-form tpl-form-border-br">
			<div class="am-form-group am-u-sm-2">
				<input type="text" class="tpl-form-input"  placeholder="司机姓名">
			</div>
			<div class="am-form-group am-u-sm-2">
				<input type="text" class="am-form-field tpl-form-no-bg" placeholder="点击选择开始时间" data-am-datepicker="" readonly="">
			</div>
			<div class="am-form-group am-u-sm-2">
				<input type="text" class="am-form-field tpl-form-no-bg" placeholder="点击选择结束时间" data-am-datepicker="" readonly="">
			</div>
			<div class="am-form-group am-u-sm-6">
				<button type="button" class="am-btn am-btn-sm am-btn-primary am-radius" style="margin-top: -2px;">查询<i class="am-icon-search"></i></button>
				<a href="/admin/driver/addcontract" class="am-btn am-btn-sm am-btn-secondary am-radius" style="margin-top: -2px;">添加劳务合同</a>
			</div>
			
		</form>
	</div>
	<div style="padding: 10px;" class="am-u-sm-12">
		<div class="am-btn-group am-u-sm-12 am-btn-group-xs cl-p">
			<a href="{:url('addcontract')}" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 新增</a>
			<button type="button" class="am-btn am-btn-default delete-multiple" data-method='deleteMultiple'><span class="am-icon-trash-o"></span> 删除</button>
			<button type="button" class="am-btn am-btn-default am-fr" style="float: right;">导出数据</button>
		</div>
		<table width="100%" class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped am-text-truncate tpl-table-black" id="contract">
			<thead>
				<tr>
					<th><input type="checkbox" data-checkall='1' class="check-all"/></th>
					<th>司机名称</th>
					<th>电话</th>
					<th>注册时间</th>
					<th>合同图片</th>
					<th>操作</th>

				</tr>
			</thead>
			<tbody>
				{foreach $list as $key => $item}
				<tr data-id="{$item.id}">
					<th><input type="checkbox" class="check-list" /></th>
					<td><a href="/admin/driver/details">{$item.name}</a></td>
					<td>{$item.phone}</td>
					<td>{$item.register_time}</td>
					<td>
						<div class="tpl-table-black-operation">
							<a href="javascript:;"> 
								<i class="am-icon-pencil"></i> 查看
							</a>
						</div>
					</td>
					<td>
						<div class="tpl-table-black-operation">
							<a href="javascript:;" class="tpl-table-black-operation-del delete-list" data-method="delete">
								<i class="am-icon-pencil"></i> 删除
							</a>
						</div>
					</td>
				
				</tr>
				{/foreach}
				<!-- more data -->
			</tbody>
		</table>

		<div class="am-u-lg-12 am-cf">
			<div class="am-fr">
				{$pager}
			</div>
		</div>
	</div>

</div>